package com.wanter.paper.entity;

import java.io.Serializable;

/**
 * 题型的实体类
 * Created by er on 17-7-16.
 */
public class Mould implements Serializable{
    private int id; //主建
    private int level;//等级
    private String name;//名称
    private int order;//顺序
    private int pid;//父id

    public Mould() {
    }

    public Mould(int id, int level, String name, int order, int pid) {
        this.id = id;
        this.level = level;
        this.name = name;
        this.order = order;
        this.pid = pid;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getOrder() {
        return order;
    }

    public void setOrder(int order) {
        this.order = order;
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    @Override
    public String toString() {
        return "Mould{" +
                "id=" + id +
                ", level=" + level +
                ", name='" + name + '\'' +
                ", order=" + order +
                ", pid=" + pid +
                '}';
    }
}
